package entities;



import enumeration.Operation;
/**
 * 
 * @author ahosick
 *
 */
public class ParamsObject {

	private String fileName;
	private String testName;
	private String tagName;

	private String xmlPiece;
	private String xmlTestName;

	private String outputFile;
	private Operation operation;
	
	private String attribute;
	private String userInput;
	private boolean fromFile; 
	
	public ParamsObject(){
		fromFile = false;
	}
	/**
	 * constructor
	 * @param fileName
	 * @param testName
	 * @param xmlPiece
	 * @param outputFile
	 */
	public ParamsObject(String fileName, String testName, String xmlPiece, String outputFile){
		this.fileName = fileName;
		this.testName = testName;
		this.xmlPiece = xmlPiece;
		this.outputFile = outputFile;
		
	}
	/**
	 * constructor
	 * @param fileName
	 * @param testName
	 * @param xmlPiece
	 * @param outputFile
	 * @param operation
	 */
	public ParamsObject(String fileName, String testName, String xmlPiece, String outputFile, Operation operation){
		this.fileName = fileName;
		this.testName = testName;
		this.xmlPiece = xmlPiece;
		this.outputFile = outputFile;
		this.operation = operation;
		
	}
	
	
	/**
	 * @return the fileName
	 */
	public String getFileName() {
		return fileName;
	}

	/**
	 * @param fileName
	 *            the fileName to set
	 */
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	/**
	 * @return the testName
	 */
	public String getTestName() {
		return testName;
	}

	/**
	 * @param testName
	 *            the testName to set
	 */
	public void setTestName(String testName) {
		this.testName = testName;
	}

	/**
	 * @return the tagName
	 */
	public String getTagName() {
		return tagName;
	}

	/**
	 * @param tagName
	 *            the tagName to set
	 */
	public void setTagName(String tagName) {
		this.tagName = tagName;
	}

	/**
	 * @return the xmlPiece
	 */
	public String getXmlPiece() {
		return xmlPiece;
	}

	/**
	 * @param xmlPiece
	 *            the xmlPiece to set
	 */
	public void setXmlPiece(String xmlPiece) {
		this.xmlPiece = xmlPiece;
	}

	/**
	 * @return the xmlTestname
	 */
	public String getXmlTestName() {
		return xmlTestName;
	}

	/**
	 * @param xmlTestname
	 *            the xmlTestname to set
	 */
	public void setXmlTestName(String xmlTestName) {
		this.xmlTestName = xmlTestName;
	}


	/**
	 * @return the outputFile
	 */
	public String getOutputFile() {
		return outputFile;
	}

	/**
	 * @param outputFile
	 *            the outputFile to set
	 */
	public void setOutputFile(String outputFile) {
		this.outputFile = outputFile;
	}

	/**
	 * @return the operation
	 */
	public Operation getOperation() {
		return operation;
	}

	/**
	 * @param help
	 *            the operation to set
	 */
	public void setOperation(Operation help) {
		this.operation = help;
	}

	/**
	 * @return the attribute
	 */
	public String getAttribute() {
		return attribute;
	}

	/**
	 * @param attribute the attribute to set
	 */
	public void setAttribute(String attribute) {
		this.attribute = attribute;
	}

	/**
	 * @return the userInput
	 */
	public String getUserInput() {
		return userInput;
	}

	/**
	 * @param userInput the userInput to set
	 */
	public void setUserInput(String userInput) {
		this.userInput = userInput;
	}
	/**
	 * @return the fromFile
	 */
	public boolean isFromFile() {
		return fromFile;
	}
	/**
	 * @param fromFile the fromFile to set
	 */
	public void setFromFile(boolean fromFile) {
		this.fromFile = fromFile;
	}

	
}
